package org.edu.modules.kaoqin.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ve_hr_kaohe")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "考核表", description = "考核表")
public class VeHrKaohe implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键、自增长
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键、自增长")
    private String id;
    /**
     * 教师id
     */
//    @Excel(name = "教师id", width = 15)
    @ApiModelProperty(value = "教师id")
    private String teacherid;
    /**
     * 工号
     */
    @Excel(name = "工号", width = 15)
    @ApiModelProperty(value = "工号")
    private String gh;
    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String xm;
    /**
     * 考核类别码
     */
    @Dict(dicCode = "modelCode='KHLBM' AND code", dictTable = "ve_dict_dictdata", dicText = "title")
    @Excel(name = "考核类别", width = 15, dicCode = " code", dictTable = "ve_dict_dictdata where modelCode='KHLBM' ", dicText = "title")
    @ApiModelProperty(value = "考核类别码")
    private String khlbm;
    /**
     * 考核结果码
     */
    @Dict(dicCode = "modelCode='KHJGM' AND code", dictTable = "ve_dict_dictdata", dicText = "title")
    @Excel(name = "考核结果", width = 15, dicCode = " code", dictTable = "ve_dict_dictdata where modelCode='KHJGM' ", dicText = "title")
    @ApiModelProperty(value = "考核结果码")
    private String khjgm;
    /**
     * 考核日期
     */
    @Excel(name = "考核日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "考核日期")
    private Date khrq;
    /**
     * 考核内容
     */
    @Excel(name = "考核内容", width = 15)
    @ApiModelProperty(value = "考核内容")
    private String khnr;
    /**
     * 考核负责人工号
     */
    @Excel(name = "考核负责人工号", width = 15)
    @ApiModelProperty(value = "考核负责人工号")
    private String khfzrgh;
    /**
     * 考核评语
     */
    @Excel(name = "考核评语", width = 15)
    @ApiModelProperty(value = "考核评语")
    private String khpy;
    /**
     * 考核部门id
     */
    @Dict(dictTable = "ve_base_department", dicText = "JGMC", dicCode = "id")
    @Excel(name = "考核部门", width = 15, dictTable = "ve_base_department", dicText = "JGMC", dicCode = "id")
    @ApiModelProperty(value = "考核部门id")
    private Integer depid;
    /**
     * 系统ID
     */
//    @Excel(name = "系统ID", width = 15)
    @ApiModelProperty(value = "系统ID")
    private Integer terminalid;
    /**
     * createTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime;

    /**
     * 操作人id
     */
//    @Excel(name = "操作人id", width = 15)
    @ApiModelProperty(value = "操作人id")
    private String createuserid;
    /**
     * 操作人姓名
     */
//    @Excel(name = "操作人姓名", width = 15)
    @ApiModelProperty(value = "操作人姓名")
    private String createusername;
}
